package com.easybuy.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.easybuy.dao.AdminDao;
import com.easybuy.entity.Admin;
import com.easybuy.service.AdminService;

@Service("adminService")
public class AdminServiceImpl implements AdminService {

	@Autowired
	private AdminDao adminDao;

	public Admin login(String username, String pwd) {
		return adminDao.login(username, pwd);
	}

}
